projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78557fb
)
(comint-file-name-chars): Use separate sets for ms-dos and windows-nt.
author
Geoff Voelker
<voelker@cs.washington.edu>
Tue, 2 Sep 1997 19:37:39 +0000
(19:37 +0000)
committer
Geoff Voelker
<voelker@cs.washington.edu>
Tue, 2 Sep 1997 19:37:39 +0000
(19:37 +0000)
lisp/comint.el
patch
|
blob
|
history
diff --git
a/lisp/comint.el
b/lisp/comint.el
index bcf452230224585599354c6ea68c8d771c8a5647..0027db8b88ea2e1dd29cb304509827895f75219d 100644
(file)
--- a/
lisp/comint.el
+++ b/
lisp/comint.el
@@
-1918,9
+1918,13
@@
This is used by comint's and shell's completion functions, and by shell's
directory tracking functions.")
(defvar comint-file-name-chars
- (if (memq system-type '(ms-dos windows-nt))
- "~/A-Za-z0-9_^$!#%&{}@`'.()-"
- "~/A-Za-z0-9+@:_.$#%,={}-")
+ (cond
+ ((eq system-type 'ms-dos)
+ "~/A-Za-z0-9_^$!#%&{}@`'.()-")
+ ((eq system-type 'windows-nt)
+ "~/A-Za-z0-9_^$!#%&{}@`'.,:()-")
+ (t
+ "~/A-Za-z0-9+@:_.$#%,={}-"))
"String of characters valid in a file name.
This is a good thing to set in mode hooks.")